# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template

urlpatterns = patterns(
    'zipbi.views',

    #-----------------------------------------------------------------
    #   geo positioning example
    #-----------------------------------------------------------------
    (r'^index.html/$',  direct_to_template, 
                          {'template': 'zipbi/index.html'}),
    
    (r'^patricia/$',  direct_to_template, 
                          {'template': 'zipbi/geoBase.html'}),
    
    (r'^zipcode/$',  direct_to_template, 
                          {'template': 'zipbi/zipcodes.html'}),
    
    (r'^reports/$',  direct_to_template, 
                          {'template': 'zipbi/generateReports.html'}),
                          
                          
    (r'^geoPosRequest/$', 'sendRequestForMapp'),
    (r'^processZipCodes/$','pocessZipCodes'),
    (r'^processZipWorker/$','processZipWorker'),
              
    (r'^processPtoWorker/$','processPtoWorker'),                  
    (r'^processPuntosIbe/$','processPuntosIbe'),
    
    (r'^calculateDistances/$','calculateDistances'),
    (r'^processZipDist/$','processZipDist'),
    
    (r'^processPendingPtos/$','processPendingPtos'),
    
    (r'^generateExcelReport/$','generateExcelReport'),
    (r'^outputExcel/$','read_excel'),
)
